com.pulumi.aws.cloudfront.outputs.RealtimeLogConfigEndpointKinesisStreamConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.cloudfront.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class RealtimeLogConfigEndpointKinesisStreamConfig {
/**
* @return The ARN of an IAM role that CloudFront can use to send real-time log data to the Kinesis data stream.
* See the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-iam-role) for more information.
*
*/
private String roleArn;
/**
* @return The ARN of the Kinesis data stream.
*
*/
private String streamArn;
private RealtimeLogConfigEndpointKinesisStreamConfig() {}
/**
* @return The ARN of an IAM role that CloudFront can use to send real-time log data to the Kinesis data stream.
* See the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-iam-role) for more information.
*
*/
public String roleArn() {
return this.roleArn;
}
/**
* @return The ARN of the Kinesis data stream.
*
*/
public String streamArn() {
return this.streamArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RealtimeLogConfigEndpointKinesisStreamConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String roleArn;
private String streamArn;
public Builder() {}
public Builder(RealtimeLogConfigEndpointKinesisStreamConfig defaults) {
Objects.requireNonNull(defaults);
this.roleArn = defaults.roleArn;
this.streamArn = defaults.streamArn;
}
@CustomType.Setter
public Builder roleArn(String roleArn) {
if (roleArn == null) {
throw new MissingRequiredPropertyException("RealtimeLogConfigEndpointKinesisStreamConfig", "roleArn");
}
this.roleArn = roleArn;
return this;
}
@CustomType.Setter
public Builder streamArn(String streamArn) {
if (streamArn == null) {
throw new MissingRequiredPropertyException("RealtimeLogConfigEndpointKinesisStreamConfig", "streamArn");
}
this.streamArn = streamArn;
return this;
}
public RealtimeLogConfigEndpointKinesisStreamConfig build() {
final var _resultValue = new RealtimeLogConfigEndpointKinesisStreamConfig();
_resultValue.roleArn = roleArn;
_resultValue.streamArn = streamArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy