Class CoreNetworkArgs.Builder

  • Enclosing class:
    CoreNetworkArgs

    public static final class CoreNetworkArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • basePolicyDocument

        public CoreNetworkArgs.Builder basePolicyDocument​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> basePolicyDocument)
        Parameters:
        basePolicyDocument - Sets the base policy document for the core network. Refer to the [Core network policies documentation](https://docs.aws.amazon.com/network-manager/latest/cloudwan/cloudwan-policy-change-sets.html) for more information.
        Returns:
        builder
      • basePolicyDocument

        public CoreNetworkArgs.Builder basePolicyDocument​(java.lang.String basePolicyDocument)
        Parameters:
        basePolicyDocument - Sets the base policy document for the core network. Refer to the [Core network policies documentation](https://docs.aws.amazon.com/network-manager/latest/cloudwan/cloudwan-policy-change-sets.html) for more information.
        Returns:
        builder
      • basePolicyRegions

        public CoreNetworkArgs.Builder basePolicyRegions​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> basePolicyRegions)
        Parameters:
        basePolicyRegions - List of regions to add to the base policy. The base policy created by setting the `createBasePolicy` argument to `true` requires one or more regions to be set in the `edge-locations`, `location` key. If `basePolicyRegions` is not specified, the region used in the base policy defaults to the region specified in the `provider` block.
        Returns:
        builder
      • basePolicyRegions

        public CoreNetworkArgs.Builder basePolicyRegions​(java.util.List<java.lang.String> basePolicyRegions)
        Parameters:
        basePolicyRegions - List of regions to add to the base policy. The base policy created by setting the `createBasePolicy` argument to `true` requires one or more regions to be set in the `edge-locations`, `location` key. If `basePolicyRegions` is not specified, the region used in the base policy defaults to the region specified in the `provider` block.
        Returns:
        builder
      • basePolicyRegions

        public CoreNetworkArgs.Builder basePolicyRegions​(java.lang.String... basePolicyRegions)
        Parameters:
        basePolicyRegions - List of regions to add to the base policy. The base policy created by setting the `createBasePolicy` argument to `true` requires one or more regions to be set in the `edge-locations`, `location` key. If `basePolicyRegions` is not specified, the region used in the base policy defaults to the region specified in the `provider` block.
        Returns:
        builder
      • createBasePolicy

        public CoreNetworkArgs.Builder createBasePolicy​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> createBasePolicy)
        Parameters:
        createBasePolicy - Whether to create a base policy when a core network is created or updated. A base policy is created and set to `LIVE` to allow attachments to the core network (e.g. VPC Attachments) before applying a policy document provided using the `aws.networkmanager.CoreNetworkPolicyAttachment` resource. This base policy is needed if your core network does not have any `LIVE` policies and your policy document has static routes pointing to VPC attachments and you want to attach your VPCs to the core network before applying the desired policy document. Valid values are `true` or `false`. An example of this Pulumi snippet can be found above for VPC Attachment in a single region and for VPC Attachment multi-region. An example base policy is shown in the Base Policy Example section. This base policy is overridden with the policy that you specify in the `aws.networkmanager.CoreNetworkPolicyAttachment` resource.
        Returns:
        builder
      • createBasePolicy

        public CoreNetworkArgs.Builder createBasePolicy​(java.lang.Boolean createBasePolicy)
        Parameters:
        createBasePolicy - Whether to create a base policy when a core network is created or updated. A base policy is created and set to `LIVE` to allow attachments to the core network (e.g. VPC Attachments) before applying a policy document provided using the `aws.networkmanager.CoreNetworkPolicyAttachment` resource. This base policy is needed if your core network does not have any `LIVE` policies and your policy document has static routes pointing to VPC attachments and you want to attach your VPCs to the core network before applying the desired policy document. Valid values are `true` or `false`. An example of this Pulumi snippet can be found above for VPC Attachment in a single region and for VPC Attachment multi-region. An example base policy is shown in the Base Policy Example section. This base policy is overridden with the policy that you specify in the `aws.networkmanager.CoreNetworkPolicyAttachment` resource.
        Returns:
        builder
      • description

        public CoreNetworkArgs.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the Core Network.
        Returns:
        builder
      • description

        public CoreNetworkArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the Core Network.
        Returns:
        builder
      • globalNetworkId

        public CoreNetworkArgs.Builder globalNetworkId​(com.pulumi.core.Output<java.lang.String> globalNetworkId)
        Parameters:
        globalNetworkId - ID of the global network that a core network will be a part of. The following arguments are optional:
        Returns:
        builder
      • globalNetworkId

        public CoreNetworkArgs.Builder globalNetworkId​(java.lang.String globalNetworkId)
        Parameters:
        globalNetworkId - ID of the global network that a core network will be a part of. The following arguments are optional:
        Returns:
        builder
      • tags

        public CoreNetworkArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value tags for the Core Network. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public CoreNetworkArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value tags for the Core Network. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder